Redis config fix for heroku 4

jamesperet 9 years ago
parent
commit
4afddb0378
1 changed files with 1 additions and 2 deletions
  1. 1 2
      config/initializers/redis.rb

+ 1 - 2
config/initializers/redis.rb

@@ -1,3 +1,2 @@
1 1
 uri = URI.parse(ENV["REDISTOGO_URL"])
2
-REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
3
-Resque.redis = REDIS
2
+REDIS = Redis.new(:url => ENV['REDISTOGO_URL'])